#ifndef PLAYER_H
#define PLAYER_H
#include "videowidget.h"

#include<QWidget>
#include<QMediaPlayer>
#include<QMediaPlayerlist>
#include<QAbstractbutton>



class Player : public QWidget
{
    Q_OBJECT
public:
    explicit Player(QWidget *parent = 0);
	~Player();

signals:
//void fullScreenChanged(bool fullScreen);

private slots:
void statusChanged(QMediaPlayer::MediaStatus status);
void displayErrorMessage();
void playlistPositonChanged(int);
void addToPlaylist(const QStringList &fileNames);
public slots:

private:
	QMediaPlayer::State playerState;
	bool playerMuted;
};

#endif // PLAYER_H
